//------------------------------------------------------------------------------
//  textwriter.cc
//  (C) 2006 Radon Labs GmbH
//------------------------------------------------------------------------------
#include "Pch.h"
#include "textwriter.h"


namespace GBase
{

	TextWriter::TextWriter()
	{
		
	}
	/// destructor
	TextWriter::~TextWriter()
	{

	}
	//------------------------------------------------------------------------------
	/**
	*/
	void
	TextWriter::WriteChar(unsigned char c)
	{
		this->stream->Write(&c, sizeof(c));
	}

	

	void TextWriter::WriteLine1024(const char* str)
	{
		this->stream->Write(str, ::strlen(str));
	}
	//------------------------------------------------------------------------------
	/**
	*/
	void __cdecl
	TextWriter::WriteFormatted(const char* fmtString, ...)
	{
// 		va_list argList;
// 		va_start(argList, fmtString);
// 		//String str;
// 		//str.FormatArgList(fmtString, argList);
// 		this->stream->Write(str.AsCharPtr(), str.Length());
// 		
// 		vsprintf
// 		va_end(argList);
		return ;
	}


} // namespace Core